<template>
  <div class="article">
  
  <div class="navs">
        <!-- 三级路由切换结构 -->
        <router-link to="/layout/article/recommend" >推荐</router-link>
        <router-link to="/layout/article/updata">最新</router-link>
       
    </div>  <!-- 写三级路由出口 -->
  <router-view></router-view>
  </div>

  
</template>

<script>
export default {
    name:'HmArticle',
    // methods:{

    // }

}
</script>

<style lang="less" scoped>
.navs {
width:100px;
height:50px;
display: flex;
justify-content: space-evenly;
align-items: center;
background-color: #8DF;

position: fixed;
left: 0;
top: 0;

a.active {
    color: red;
}

}
</style>